package cn.jiedh.app.meiweidk.entity;

import java.io.Serializable;

/**
 * 首页banner
 * Created by Administrator on 2016/12/17.
 * banner从v1.4.1改为两个接口
 */
public class BannerEntity implements Serializable{

    //首页banner的信息
    private String imgUrl;//banner图片地址
    private int bannerId;//bannerID
    private int type;//benner类型 0不可点击 1外链 2内链


    //banner详情的信息
    private String name;//banner名称
    private int inType;//内链类型(1 内链产品 ..后续按需求增加,目前只可能为1),只有在type为2时返回
    private int inId;//内链的Id(例如内链的产品,就用这个ID去查产品详情),只有在type为2时返回
    private String link;//外链链接,只有在type为1时返回
    private String shareLink;//分享链接,只有在type为1时返回
    private String shareImgUrl;//分享图片地址,只有在type为1时返回
    private String shareTitle;//分享标题,只有在type为1时返回
    private String shareContent;//分享内容,只有在type为1时返回

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public int getBannerId() {
        return bannerId;
    }

    public void setBannerId(int bannerId) {
        this.bannerId = bannerId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getInType() {
        return inType;
    }

    public void setInType(int inType) {
        this.inType = inType;
    }

    public int getInId() {
        return inId;
    }

    public void setInId(int inId) {
        this.inId = inId;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getShareLink() {
        return shareLink;
    }

    public void setShareLink(String shareLink) {
        this.shareLink = shareLink;
    }

    public String getShareImgUrl() {
        return shareImgUrl;
    }

    public void setShareImgUrl(String shareImgUrl) {
        this.shareImgUrl = shareImgUrl;
    }

    public String getShareTitle() {
        return shareTitle;
    }

    public void setShareTitle(String shareTitle) {
        this.shareTitle = shareTitle;
    }

    public String getShareContent() {
        return shareContent;
    }

    public void setShareContent(String shareContent) {
        this.shareContent = shareContent;
    }
}
